package com.bozer.springsecuritydemo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {


    @RequestMapping("/test")
    public String test() {
        return "test";
    }

    @RequestMapping("/s")
    public String s() {
        return "success";
    }

    @RequestMapping("/user/test")
    public String user() {
        return "/user/test";
    }

    @RequestMapping("/admin/test")
    public String admin() {
        return "/admin/test";
    }


}
